<%@ page import="com.itheima.domain.User" %><%--
  Created by IntelliJ IDEA.
  User: 12452
  Date: 2021/4/29
  Time: 19:58
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>success</title>
</head>
<body>
    <%
        User user = (User) session.getAttribute("user");
        String username = user.getUsername();
    %>
    欢迎用户<%=username%>登录 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  <a href="/test/user/logout" >退出</a>
</body>
</html>
